home *** CD-ROM | disk | FTP | other *** search
- Path: news.duke.edu!usenet
- From: Pete Tandler <ptandler@inxs.chem.duke.edu>
- Newsgroups: comp.lang.c
- Subject: f2c installation
- Date: 7 Feb 1996 03:29:29 GMT
- Organization: Duke University, Durham, NC, USA
- Message-ID: <4f96ap$sqb@news.duke.edu>
- NNTP-Posting-Host: inxs.chem.duke.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.2 sun4c)
- X-URL: http://smithers.dejanews.com/cgi-bin/dngetdoc.html?RECNUM=3245938+SERVER=dnserver.dbjan+CONTEXT=5912.2712.
-
- Hello,
-
- I've down loaded the f2c utility from netlib.att.com and am having
- difficulties getting the converted code to compile. At first I did
- not have the libraries libI77 and libF77, but I've since downloaded
- the code for both of the libraries. I've compiled the libraries and
- am using the libraries, but the converted code is still not compiling.
- The compiling is getting stuck at the linking stage, where the comp-
- iler is complaining of undefined function calls (to the library fun-
- ctions).
-
- I've tried on compiling the converted code using Borland C 3.0 in DOS
- and the gcc and SUN cc compilers in UNIX. They all give me the same
- errors. I've searched the library libI77 and libF77 files for a
- couple of functions. The calling conventions seems to be different
- between the library functions and the converted c code. What am I
- doing wrong? Is it in generating the libraries or the converting or
- the compiling stage?
-
- The FORTRAN code does compile using the sun f77 compiler.
-
- Pete Tandler
- ptandler@inxs.chem.duke.edu
-
-